package com.kgc;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author shkstart
 * @create 2020-11-17 17:34
 */
@SpringBootApplication
public class OrderSellSpringBoot {
    public static void main(String[] args) {

        SpringApplication.run(OrderSellSpringBoot.class,args);
    }

    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
